package com.xc.dao;

import com.xc.pojo.StockAllotment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockAllotmentMapper {
  int deleteByPrimaryKey(Integer paramInteger);

  int insert(StockAllotment paramStock);

  int insertSelective(StockAllotment paramStock);

  StockAllotment selectByPrimaryKey(Integer paramInteger);

  int updateByPrimaryKeySelective(StockAllotment paramStock);

  int updateByPrimaryKey(StockAllotment paramStock);

  List findStockListByKeyWords(@Param("keyWords") String paramString1, @Param("stockPlate") String paramString2, @Param("stockType") String paramString3, @Param("show") Integer paramInteger);

  List findStockCode(@Param("stockType") String stockType,@Param("stock_num")Integer stock_num,@Param("stock_nums")Integer stock_nums);
  StockAllotment findStockByVeryCode(@Param("verify_code")String verify_code);

  StockAllotment findStockByCode(@Param("code")String paramString);

  StockAllotment findStockByName(String paramString);

  List listByAdmin(@Param("stockName") String stockName, @Param("stockCode") String stockCode);
  List listByUser(@Param("pageNum") int pageNum,@Param("pageSize")  int pageSize);

  int CountStockNum();

  int CountShowNum(Integer paramInteger);

  int CountUnLockNum(Integer paramInteger);

  List findStockList();

}